package org.jprobe.dummy;
/**
 * a dummy final singleton pattern class
 * @author Hussain Al-Mutawa
 * @version 1.0
 */
public final class DummyFinal {
	/** singleton copy of the object **/
	private transient static final DummyFinal df = new DummyFinal();
	/** prevent initialization by empty constructor **/
	private DummyFinal(){}
	/**
	 * gets a singleton copy of the DummyFinal object
	 * @return singleton copy
	 */
	public static DummyFinal singleton(){
		return df;
	}
	/**
	 * adds two integers and return the result
	 * @param num1 first operand
	 * @param num2 second operand
	 * @return the addition of two operands
	 */
	public int add(int num1,int num2){
		return num1+num2;
	}
}
